<template>
  <div class="links">
    <!-- 連接背景 -->
    <div class="links-bg">
      <h3>友情链接</h3>
    </div>
    <!-- 內容 -->
    <div class="main">
      <!-- 合作伙伴   链接 -->
      <div class="links-partner">
        <h4>合作伙伴</h4>
        <ul class="clearfix">
          <li>
            <a href="http://taobao.com"
              ><img src="../assets/aboutus/links/taobao.png" alt=""
            /></a>
          </li>
          <li>
            <a href="https://www.dangdang.com/"
              ><img src="../assets/aboutus/links/dangdang.png"
            /></a>
          </li>
          <li>
            <a href="https://www.suning.com/"
              ><img src="../assets/aboutus/links/suning.png"
            /></a>
          </li>
          <li style="margin-right: 0">
            <a href="https://www.mogu.com/"
              ><img src="../assets/aboutus/links/mogu.png"
            /></a>
          </li>
          <li>
            <a href="https://www.jd.com/"
              ><img src="../assets/aboutus/links/jd.png"
            /></a>
          </li>
          <li>
            <a href="https://www.tmall.com/"
              ><img src="../assets/aboutus/links/tmail.png"
            /></a>
          </li>
          <li>
            <a href="https://www.vip.com/"
              ><img src="../assets/aboutus/links/vip.png"
            /></a>
          </li>
          <li style="margin-right: 0">
            <a href="https://www.yhd.com/"
              ><img src="../assets/aboutus/links/yhd.png"
            /></a>
          </li>
          <li>
            <a href="https://www.moonbasa.com/"
              ><img src="../assets/aboutus/links/moonbasa.png"
            /></a>
          </li>
          <li>
            <a href="https://re.1688.com/"
              ><img src="../assets/aboutus/links/1688.png"
            /></a>
          </li>
          <li>
            <a href="https://redbaby.suning.com/"
              ><img src="../assets/aboutus/links/redbaby.png"
            /></a>
          </li>
        </ul>
      </div>
      <!-- 文字链接 -->
      <div class="links-text">
        <h4>文字链接</h4>
        <ul class="clearfix">
          <li><a href="">代购</a></li>
          <li><a href="">纽约论坛</a></li>
          <li><a href="">代购中国</a></li>
          <li><a href="">中国代购</a></li>
          <li><a href="">国内代购</a></li>
          <li><a href="">海外代购</a></li>
          <li><a href="">海外华人代购</a></li>
          <li><a href="">淘宝代购</a></li>
          <li><a href="">淘宝网代购</a></li>
          <li><a href="">代购中国商品</a></li>
          <li><a href="">代购网</a></li>
          <li><a href="">中国代购网</a></li>
          <li><a href="">淘宝国内代购</a></li>
          <li><a href="">华人代购</a></li>
          <li><a href="">华人代购网</a></li>
          <li><a href="">淘宝海外代购</a></li>
          <li><a href="">海淘网</a></li>
        </ul>
      </div>
      <!-- 按钮 -->
      <div class="links-button">
        <a href="mailto:503450118@qq.com" class="mailto">申请友情链接</a>
      </div>
    </div>
  </div>
</template>

<script>
export default {
   mounted () {
      // 点击后到页面顶部
       window.scrollTo(0,0)
    },
};
</script>

<style lang="scss" scoped>
// 清除浮动
.clearfix:after {
  content: "";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}
// h4
h4 {
  font-size: 40px;
  font-weight: 700;
  color: #333;
  padding: 40px 0;
  text-align: center;
}
// 鏈接背景
.links {
  .links-bg {
    height: 270px;
    width: 100%;
    line-height: 270px;
    background: url("../assets/aboutus/links/bg.png") no-repeat;
    background-size: 1920px 100%;
    background-position: 50%;
    h3 {
      font-weight: 400;
      font-size: 50px;
      color: #fff;
      text-align: center;
    }
  }
}
// 内容
.main {
  width: 1200px;
  margin: 0 auto 60px;
  background: #fff;
  padding: 0 20px;
  box-sizing: border-box;
}
// 合作伙伴
.links-partner {
  ul {
    li {
      float: left;
      width: 275px;
      height: 100px;
      margin-right: 20px;
      margin-bottom: 20px;
    }
  }
}
// 文字链接
.links-text {
  ul {
    li {
      position: relative;
      display: inline-block;
      width: 20%;
      font-size: 14px;
      color: #333;
      margin-bottom: 30px;
      padding-left: 15px;
      box-sizing: border-box;
      ::before {
        content: "";
        position: absolute;
        top: 50%;
        left: 0;
        display: inline-block;
        margin-right: 10px;
        width: 5px;
        height: 5px;
        background: #333;
        border-radius: 1px;
        transform: translateY(-50%);
      }
    }
  }
}
// 按钮
.links .links-button .mailto{
    display: block;
    width: 270px;
    height: 44px;
    margin: 0 auto;
    background: #ff6e6e;
    font-size: 16px;
    text-align: center;
    color: #fff;
    line-height: 44px;
    cursor: pointer;
    text-decoration: none;
}
</style>